import request from '@/utils/request'

export function reqCategory1List() {
  return request({
    url: `/admin/product/getCategory1`,
    method: 'get'
  })
}

export function reqCategory2List(category1Id) {
  return request({
    url: `/admin/product/getCategory2/${category1Id}`,
    method: 'get'
  })
}

export function reqCategory3List(category2Id) {
  return request({
    url: `/admin/product/getCategory3/${category2Id}`,
    method: 'get'
  })
}
